// 最简单的配置

var path = require('path');

const config = {
  entry: {
    main: './foo.js'
  },
  output: {
    filename: 'foo.bundle.js',
    path: path.resolve(__dirname, '/build')
  }
}
